package com.blast.comicsisland.model.community;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by dell on 2015/6/24.
 */
public class Picurl {
    private String height;
    private String width;
    private String smallpicture;
    private String bigpicture;

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getSmallpicture() {
        return smallpicture;
    }

    public void setSmallpicture(String smallpicture) {
        this.smallpicture = smallpicture;
    }

    public String getBigpicture() {
        return bigpicture;
    }

    public void setBigpicture(String bigpicture) {
        this.bigpicture = bigpicture;
    }

    //----------------------------->
    //解析部分
    public void jsonParse(JSONObject jsonObject) {
        try {
            smallpicture = jsonObject.getString("smallpicture");
            bigpicture = jsonObject.getString("bigpicture");
        } catch (JSONException e) {
            e.printStackTrace();
        }
    }
}
